package org.genntii.smdomain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@TableName("User_Directory")
@NoArgsConstructor
@AllArgsConstructor
public class UserDirectory {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private String direcotryName;
    private String directoryImage;
    private byte visible;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
